package service.impl.v2;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import dao.v2.CollegeMapper;
import model.CatVO;
import model.LessonVO;
import service.v2.CollegeService;


@Service
public class CollegeServiceImpl implements CollegeService {
	@Autowired
	private CollegeMapper collegeMapper;

	@Override
	public List<CatVO> getCatList(CatVO catVO) {
		return collegeMapper.getCatList(catVO);
	}
	@Override
	public int getTotal(LessonVO lessonVO) {
		return collegeMapper.getTotal(lessonVO);
	}
	@Override
	public List<LessonVO> getList(LessonVO lessonVO) {
		return collegeMapper.getList(lessonVO);
	}
	@Override
	public LessonVO getCourse(LessonVO lessonVO) {
		return collegeMapper.getCourse(lessonVO);
	}
	@Override
	public List<CatVO> getCat2List(LessonVO lessonVO) {
		return collegeMapper.getCat2List(lessonVO);
	}
}
